First, modify the Apache default Site Directory
After the Apache HTTP server is installed, the default site directory is located in the Htdocs folder under its installation directory, and the default home page is the index.html file for that folder. For example, my Apache is installed inside c:/wamp/bin/apache/apache2
Max is from the server with Apache and PHP, do not need to install additional, this article on the relevant configuration is described.
First: Apache
Enter the terminal and the following command will launch the Apache server:
Start sudo apachectl-k start //restart sudo apachectl-k restart
Verify:
Enter in the browser: http://127.0.0.1, displayed as it works!
Environment: Window 7, apache/2.2.19 (WIN32) php/5.2.9-1
1. Configure the server name
Remove the #ServerName localhost:80 comments from the inside.
Re-run the Apache service.
The http://localhost:80 can then be accessed through a browser, which means that Apache has been installed and started successfully if the page is displayed.
2. Add PHP Support
The IIS server default port for window is also 80,
The Wamp Apache (httpd) default port is also 80,
Any port conflict caused by the Wamp open failure, causing wamp the lower right corner of the icon is yellow color (normal open green),
You can change the port number of Apache (httpd).
Specific programmes
To be replaced by:
Then restart the Wamp service, or the Wamp itself will be
The above descr
1. First, you need to install Apache service, here does not describe how to install.
2. First configure window virtual domain to open hosts
Path is C:\WINDOWS\SYSTEM32\DRIVERS\ETC
After opening, write the domain name in the inside like www.cms.com
3. Modify the Apache configuration file httpd.conf
Found it
Remove the note
Modify
To open state
4. Modify Apa
A few days ago in the Apache implementation of multi-tomcat load Balancing cluster through JK, the reference network configuration to configure the configuration file, access to the existing tomcat in the JSP file found that the Apache prompt URL does not exist, and then check the configuration file and the Tomcat project deployment, There is no problem with the configuration deployment found. Trying to acc
Summary: Apache support Chinese domain name binding, Apache support Chinese domain name binding, teach you how to let Apache support Chinese domain name binding , according to my actual experience, how to let Apache support Chinese domain name binding, It's absolutely useful for Ap
Apache httpcomponentsThe beautiful Life of the Sun Vulcan (http://blog.csdn.net/opengl_es)This article follows "Attribution-non-commercial use-consistent" authoring public agreementReprint Please keep this sentence: Sun Vulcan's Beautiful Life-this blog focuses on Agile development and mobile and IoT device research: IOS, Android, HTML5, Arduino, Pcduino , Otherwise, the article from this blog refused to reprint or re-reproduced, thank you for your
Some days before doing Apache through JK to achieve a multi-tomcat load Balancing cluster, the reference network configuration after configuring the profile, access to the existing Tomcat file in the Apache hint URL does not exist, and then check the configuration file and Tomcat deployment, Found no problem with configuration deployment. Attempting to access the Apache
In my last article, (4) How to operate an Excel file with Apache POI-----found POI-3.12 a regression, by testing the version of POI-3.12, I found a bug, then what to do when the bug was found. We have 2 kinds of processing, first we go to the Apache POI Bug Library to search, to see if others have created a similar bug, if there is created, this is the best result, we only need to focus on when the bug was
Apache module development/C Language extension Apache (3: A very simple Apache module)
This article from: http://www.loveopensource.com /? P = 18 Original article: Apache module development/C Language extension Apache (3: A very s
If the Apache configuration/apache Tomcat configuration file is not handled well, it will bring considerable hidden trouble to the site, directory Traversal vulnerability, will expose all the site's directories to the visitors, experienced developers or hacker from these directories to know the current site information, such as development language, Server system, site structure, and even some sensitive inf
Apache Configuration
The Apache configuration is configured by the httpd.conf file, so the following configuration directives are modified in the httpd.conf file.Configuration of the primary site (basic configuration)
(1) Basic configuration:
ServerRoot "/mnt/software/apache2" #你的apache软件安装的位置. Other specified directories If you do not specify an absolute path
This article presents 5 tips for configuring Apache 1.3 or Apache 2.0 servers. We will describe the following configuration scenario: adjust Apache's
Accept ()serialization, Apache 2.0 threads, using
Mod_sslSSL session caching, optimizing keep-alive timeout values, and checking the server load to balance the amount of requests that the server can handle.
Acceptm
11.14-11.15 Apache and PHP combinedApache (httpd) configuration file:/usr/local/apache2.4/conf/httpd.conf.Configure ApacheSelect the PHP to invokeBecause this machine has two versions of PHP installed, this configuration is required, and if you install only one PHP service, the existing PHP service will be called by default (PHP5 is selected here).[Email protected] ~]# vim/usr/local/apache2.4/conf/httpd.conf......LoadModule Php5_module modules/libphp5
The Apache Software Foundation announces that Apache SYSTEMML is graduating from the incubator and is officially the Apache Top Project (TLP).
Apache SYSTEMML is a machine learning platform that optimizes large data and provides the best place to work with machine learning with large data. It runs on the
11.14/11.15 Apache and PHP combinedWhen you start httpd, there are warning prompts to define the servername in the configuration file.Vim/usr/local/apache2.4/conf/httpd.confEnter/ServerName search to cancel the previous #, enter/ Php5.so Search will PHP7 or PHP5 commented out, according to the actual situation of the Apache module, I here is the comment PHP5, the comment php7 Restart service will error, bec
Tags: Apache server1. First find the Windows Task Scheduler 2. Periodically call the. Bat program to point to the appropriate action by creating a Windows task schedule1) Back up the MySQL data The. bat code is as follows @echo off
Set "ymd=%date:~,4%%date:~5,2%%date:~8,2%"
e:/appserv/mysql/bin/mysqldump--opt-u root--password =password testdb > E:/db/testdb_%ymd%.sqlGeneral settings 1 days to back up the database once, notice that the trigger need
One: Apache restricts a directory against parsing PHPA directory is forbidden to parse PHP, this is very useful, we do the site security, this use a lot of, such asSome directories can upload files, in order to avoid uploading files have xxx, so we prohibit this directory under the Access solutionAnalysis of PHP.Php_admin_flag engine offOrder Deny,allowDeny from allDescription: Php_admin_flag engine off this statement is to prohibit parsing of PHP con
11.18 Apache user authenticationEdit the/usr/local/apache2.4/conf/extra/httpd-vhosts.conf and edit the second virtual host to the following:
• Parameter Description://Designation of certified directoriesallowoverride authconfig //This equivalent to open the authentication switch, no line equivalent to not openAuthName "111.com user auth" //Custom certified name, not very usefulAuthType Basic //authentication type, generally basic, other types no
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.